<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	Long userID = (Long)session.getAttribute("LoginUserID");
	if(userID != null) response.sendRedirect("/console/index.jsp");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>登录到控制台</title>
	<link rel="stylesheet" type="text/css" href="/style/style.css">
</head>
<body>
	<form name="login_form" method="post" action="/login">
		<input type="hidden" name="referer" value="/console/login.jsp">
		<input type="hidden" name="target" value="/console/index.jsp">
		<table border="0" cellpadding="2" cellspacing="0" style="font-size:12px;" class="form-table">
			<tr>
				<td align="right">用户名</td>
				<td><input type="text" name="username" style="width:150px;"></td>
			</tr>
			<tr>
				<td align="right">密码</td>
				<td><input type="password" name="passowrd" style="width:150px;"></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td align="right"><input type="submit" value="登录"></td>
			</tr>
		</table>
	</form>
</body>
</html>